/* eslint valid-jsdoc: "off" */

'use strict'

module.exports = (appInfo) => {
  const dbName = 'yqfk_data_test'
  const host = `http://36.99.193.53`

  const config = {
    host,
    h5: `${host}/h5`,
    dbName,
  }

  config.cluster = {
    listen: {
      path: '',
      port: 7001,
      hostname: '0.0.0.0',
    },
  }

  config.mongoose = {
    url: `mongodb://root:FY8iDztMBKDIejpx@localhost:27017/${dbName}?authSource=admin`,
  }

  return config
}
